﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TheSnakeGame.Engine
{
    public class RandomGenerator : IRandomGenerator
    {
        private Random random = new Random();

        public int GetRandomNumberInRange(int min, int max)
        {
            int number = random.Next(min, max);
            return number;
        }
    }
}
